﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPMS.Log.Configuration
{
    /// <summary>
    /// 扩展变量提供者接口
    /// </summary>
    /// <remarks>用于提供日志配置的扩展配置变量信息</remarks>
    /// <history>
    /// [zanezeng]               2010/1/21 14:05    创建
    /// </history>
    public interface IExtendedVariableProvider
    {
        /// <summary>
        /// 获得给定的扩展变量的值
        /// </summary>
        /// <param name="variable">扩展变量的名称</param>
        /// <returns>由<paramref name="variable"/>指定的扩展变量的值。如果找不到扩展变量，则返回<c>null</c>引用。</returns>
        /// <remarks></remarks>
        /// <exception cref="ArgumentNullException"><paramref name="variable"/>为<c>null</c>引用。</exception>
        /// <history>
        /// [zanezeng]               2010/1/21 14:08    创建
        /// </history>
        string GetExtendedVariable( string variable );
    }
}
